var bookStoreCtrls = angular.module("bookStoreCtrls",[]);

bookStoreCtrls.controller("HelloCtrl",['$scope',
    function($scope){
        $scope.greeting = {
            text:"Hello"
        };
    }
]);

bookStoreCtrls.controller("BookListCtrl",["$scope",
    function($scope){
        $scope.books = [
            {title:"打死不学EXT",author:"wo"},
            {title:"要努力加油",author:"wo"},
            {title:"要顶天要立地",author:"wo"}
        ]
    }
]);